package com.hrc.springbootdemo.strategy.service.impl;

import com.hrc.springbootdemo.strategy.service.AbstractPaperGenerationStrategy;
import org.springframework.stereotype.Component;

@Component("test")
public class B extends AbstractPaperGenerationStrategy   {
    @Override
    public String getName() {
        super.generatePaper();
        return "B";
    }
}
